﻿using AgencyManagerSystem.DataUpdater;
using AgencyManagerSystem.Common;
using AgencyManagerSystem.DataFetcher;
using AgencyManagerSystem.Model;

namespace AgencyManagerSystem.Core
{
    public class NoticUpdaterCreator : BaseUpdaterCreator<NoticModel>
    {
        public NoticUpdater CreateNoticUpdaterInstance()
        {
            NoticUpdater noticUpdater = new NoticUpdater(new NoticFetcher());
            noticUpdater.DataUpdating += FlagAndApproveFlagValid;
            return noticUpdater;
        }
    }
}
